<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>

<html>
<head>

<%@ include file="/WEB-INF/views/include/common.jsp"%>

<title>Validation</title>
<script type="text/javascript"
      src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCjYzALnSN1zEr2CcvzGGwFxBylVDpFcCI&sensor=false">
      </script>
<script type="text/javascript">
$(document).ready(function() {
	
});



function test1(){
	var lat = '37.516589', lng='126.761581';
	var url="http://maps.googleapis.com/maps/api/geocode/json?latlng="+lat+","+lng+"&sensor=false";
	
	AjaxPost(url, function(data) {
		alert(jsonLog(data));

	});
}
function test2(){

}
function test3(){
	
}
function test4(){
	
}
function test5(){
}
</script>
</head>
<body>
	<h1>좌표, 지도 테스트</h1>
	<ul>
		<li><input type="button" value="form1 서브밋" onclick="test1()" /></li>
		<li><input type="button" value="form2 서브밋" onclick="test2()" /></li>
		<li><input type="button" value="test3" onclick="test3()" /></li>
		<li><input type="button" value="test4" onclick="test4()" /></li>
		<li><input type="button" value="test5" onclick="test5()" /></li>
	</ul>
</body>
</html>
